﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WeSSysUser.model
{
    public class ActivateAccountResult
    {
        public static int STATUS_VALID_TOKEN_CODE = 0;
        public static string STATUS_VALID_TOKEN_TEXT = "Ok";

        public static int STATUS_INVALID_EMAIL_CODE = STATUS_VALID_TOKEN_CODE + 1;
        public static string STATUS_INVALID_EMAIL_TEXT = "Invalid email";

        public static int STATUS_OUT_DEQUEUE_CODE = STATUS_INVALID_EMAIL_CODE + 1;
        public static string STATUS_OUT_DEQUEUE_TEXT = "Out of email for dequeue";

        public static int STATUS_EXPIRED_TIME_CODE = STATUS_OUT_DEQUEUE_CODE + 1;
        public static string STATUS_EXPIRED_TIME_TEXT = "Activated time is expired";

        public static int STATUS_INVALID_TOKEN_CODE = STATUS_EXPIRED_TIME_CODE + 1;
        public static string STATUS_INVALID_TOKEN_TEXT = "Invalid token";

        public static int STATUS_ALREADY_ACTIVATED_CODE = STATUS_INVALID_TOKEN_CODE + 1;
        public static string STATUS_ALREADY_ACTIVATED_TEXT = "Already activated account";

        public static int STATUS_INVALID_USER_CODE = STATUS_INVALID_TOKEN_CODE + 1;
        public static string STATUS_INVALID_USER_TEXT = "Invalid user";

        public static int STATUS_GENERAL_ERROR_CODE = STATUS_INVALID_USER_CODE + 1;
        public static string STATUS_GENERAL_ERROR_TEXT = "General error occurs";

        public SysUserResultStatus sysUserResultStatus { get; set; }
    }
}